<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>{% block title %}龙葵编程{% endblock %}</title>
    {{ bootstrap.load_css() }}
    {% block css %}
    <!--引入项目的图标-->
    <link rel="shortcut icon" href="{{ url_for('static',filename = 'img/favicon.ico') }}" type="image/x-ico">
    <link rel="icon" href="{{ url_for('static',filename = 'img/favicon.ico') }}" type="image/x-ico">
    <style>
        body {
            padding-top: 3.5rem;
            color: #5a5a5a;
        }
    </style>
    {% endblock %}
</head>
<body>
    <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-success shadow">
        <div class="container">
            <a class="navbar-brand" href="#">龙葵编程</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarCollapse">
                <ul class="navbar-nav text-nowrap me-auto mb-2 mb-md-0">
                    <li class="nav-item">
                        <a class="nav-link" href="/front/index">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/front/book">书籍</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/front/video">视频</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/front/note">笔记</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/front/tool">工具</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/front/service">服务</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/front/forum">论坛</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/front/insight">感悟</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/front/about">关于</a>
                    </li>
                </ul>
                <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
                    <input type="search" class="form-control form-control-dark " placeholder="Search..." aria-label="Search">
                </form>
                <div class="text-end">
                    <button type="button" class="btn btn-outline-light me-2">登录</button>
                    <button type="button" class="btn btn-warning">注册</button>
                </div>
            </div>
        </div>
    </nav>
    
    {% block content %}{% endblock %}

    <div class="container-fluid shadow bg-success-subtle">
        <div class="container">
            <footer class="pt-5">
                <div class="row">
                    <div class="col-6 col-md-3 mb-3">
                        <h5>Section</h5>
                        <ul class="nav flex-column">
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">Home</a></li>
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">Features</a></li>
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">Pricing</a></li>
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">FAQs</a></li>
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">About</a></li>
                        </ul>
                    </div>
                
                    <div class="col-6 col-md-3 mb-3">
                        <h5>Section</h5>
                        <ul class="nav flex-column">
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">Home</a></li>
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">Features</a></li>
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">Pricing</a></li>
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">FAQs</a></li>
                        <li class="nav-item mb-2"><a href="#" class="nav-link p-0">About</a></li>
                        </ul>
                    </div>
                
                    <div class="col-md-5 offset-md-1 mb-3">
                        <form>
                            <h5>Subscribe to our newsletter</h5>
                            <p>Monthly digest of what's new and exciting from us.</p>
                            <div class="d-flex flex-column flex-md-row w-100 gap-3">
                                <input id="newsletter1" type="text" class="form-control" placeholder="Email address">
                                <button class="btn btn-primary text-nowrap" type="button">订阅</button>
                            </div>
                        </form>
                    </div>
                </div>
            
                <div class="d-flex flex-column flex-sm-row justify-content-between py-4 border-top">
                    <p>&copy; 2024 Company, Inc. All rights reserved.</p>
                </div>
            </footer>
        </div>
    </div>
    {{ bootstrap.load_js() }}
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/1.6.8/axios.min.js"></script>
    {% block js %}
    {% endblock %}
</body>
</html>